dnl the C pre-processor is not so good, so let's use m4. 
divert(-1)
define(MKCURR, `struct color *curr_$1 = &theme_def.$1;')
divert(0)dnl
MKCURR(usrname)
MKCURR(sysusername)
MKCURR(msg)
MKCURR(sysmsg)
MKCURR(sid)
MKCURR(lvl)
MKCURR(time)
MKCURR(relay)
MKCURR(errmsg)
MKCURR(helpcmd)
MKCURR(helpmsg)
MKCURR(cqd)

